home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 26 / macformat_26.iso / Los 50 mejores / Mejoras del sistema / Smart Scroll / for Developers / SmartScrollAPI.h < prev    next >
Text File  |  1996-09-27  |  819b  |  37 lines

  1. /*
  2.      File:        SmartScrollAPI.h
  3.  
  4.      Contains:    Smart Scroll Application Programming Interface
  5.  
  6.      Version:    1.2
  7.  
  8.      Copyright:    © 1996 by Marc Moini, portions by Marc Menschenfreund,
  9.                 Alessandro Levi Montalcini and Mark Shirley (Thanks!)
  10.                   All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, please email Marc@Kagi.com
  13.  
  14. */
  15.  
  16. #ifndef __TYPES__
  17. #include <Types.h>
  18. #endif
  19.  
  20. #ifndef __CONTROLS__
  21. #include <Controls.h>
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. extern pascal void SetSmartScrollInfo (ControlRef theScrollBar, long amountVisible , long amountTotal);
  29. extern pascal void SetSmartScrollProp (ControlHandle theScrollBar, Fract proportion);
  30. extern pascal Fract GetSmartScrollProp (ControlHandle theScrollBar);
  31. extern pascal void DisposeAllSmartScrolls (void);
  32.  
  33.  
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37.